package com.cskaoyan.service;

import com.cskaoyan.bean.MarketGoods;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.data.ResGoodsCreateData;
import com.cskaoyan.bean.data.ResGoodsDetailData;
import com.cskaoyan.bean.data.ResGoodsUpdateData;
import com.cskaoyan.bean.data.RespCatAndBrandData;
import com.cskaoyan.bean.vo.GoodsVo;

public interface GoodsService {
    CommonData list(Integer page, Integer limit, String sort, String order, String goodSn, String name, Integer goodsId);

    void update(ResGoodsUpdateData data);

    void delete(MarketGoods goods);

    ResGoodsDetailData detail(Integer id);

    RespCatAndBrandData catAndBrand();

    BaseRespVo create(GoodsVo goodsVo);
}
